package com.jg.ads.utils;

import com.junion.JgAds;

/**
 * @author maipian
 * @description 描述
 * @date 8/20/24
 */
public class MyDisplayUtil {
    /**
     * dp转像素
     */
    public static int dp2px(int dp) {
        return (int) (JgAds.getInstance().getInitiallyDensity() * dp);
    }
}
